-- Do not manually edit this file, it was auto-generated by dillonkearns/elm-graphql
-- https://github.com/dillonkearns/elm-graphql


module Qore.Object.Unitdatestructured exposing (..)

import Graphql.Internal.Builder.Argument as Argument exposing (Argument)
import Graphql.Internal.Builder.Object as Object
import Graphql.Internal.Encode as Encode exposing (Value)
import Graphql.Operation exposing (RootMutation, RootQuery, RootSubscription)
import Graphql.OptionalArgument exposing (OptionalArgument(..))
import Graphql.SelectionSet exposing (SelectionSet)
import Json.Decode as Decode
import Qore.InputObject
import Qore.Interface
import Qore.Object
import Qore.Scalar
import Qore.ScalarCodecs
import Qore.Union


unitdatestructuredoption : SelectionSet decodesTo Qore.Union.UnitdatestructuredOptionUnion -> SelectionSet decodesTo Qore.Object.Unitdatestructured
unitdatestructuredoption object_ =
    Object.selectionForCompositeField "unitdatestructuredoption" [] object_ identity


id : SelectionSet (Maybe String) Qore.Object.Unitdatestructured
id =
    Object.selectionForField "(Maybe String)" "id" [] (Decode.string |> Decode.nullable)


altrender : SelectionSet (Maybe String) Qore.Object.Unitdatestructured
altrender =
    Object.selectionForField "(Maybe String)" "altrender" [] (Decode.string |> Decode.nullable)


audience : SelectionSet (Maybe String) Qore.Object.Unitdatestructured
audience =
    Object.selectionForField "(Maybe String)" "audience" [] (Decode.string |> Decode.nullable)


lang : SelectionSet (Maybe String) Qore.Object.Unitdatestructured
lang =
    Object.selectionForField "(Maybe String)" "lang" [] (Decode.string |> Decode.nullable)


script : SelectionSet (Maybe String) Qore.Object.Unitdatestructured
script =
    Object.selectionForField "(Maybe String)" "script" [] (Decode.string |> Decode.nullable)


label : SelectionSet (Maybe String) Qore.Object.Unitdatestructured
label =
    Object.selectionForField "(Maybe String)" "label" [] (Decode.string |> Decode.nullable)


unitdatetype : SelectionSet (Maybe String) Qore.Object.Unitdatestructured
unitdatetype =
    Object.selectionForField "(Maybe String)" "unitdatetype" [] (Decode.string |> Decode.nullable)


datechar : SelectionSet (Maybe String) Qore.Object.Unitdatestructured
datechar =
    Object.selectionForField "(Maybe String)" "datechar" [] (Decode.string |> Decode.nullable)


certainty : SelectionSet (Maybe String) Qore.Object.Unitdatestructured
certainty =
    Object.selectionForField "(Maybe String)" "certainty" [] (Decode.string |> Decode.nullable)


encodinganalog : SelectionSet (Maybe String) Qore.Object.Unitdatestructured
encodinganalog =
    Object.selectionForField "(Maybe String)" "encodinganalog" [] (Decode.string |> Decode.nullable)


era : SelectionSet (Maybe String) Qore.Object.Unitdatestructured
era =
    Object.selectionForField "(Maybe String)" "era" [] (Decode.string |> Decode.nullable)


calendar : SelectionSet (Maybe String) Qore.Object.Unitdatestructured
calendar =
    Object.selectionForField "(Maybe String)" "calendar" [] (Decode.string |> Decode.nullable)
